package com.lcj.aoch.rule.service;

import com.github.pagehelper.PageInfo;
import com.lcj.aoch.rule.controller.form.DeleteRuleForm;
import com.lcj.aoch.rule.controller.form.InsertRuleForm;
import com.lcj.aoch.rule.controller.form.SearchRuleForm;
import com.lcj.aoch.rule.controller.form.UpdateRuleForm;
import com.lcj.aoch.rule.db.pojo.RuleEntity;

import java.util.HashMap;

public interface RuleService {

    PageInfo<HashMap> searchRule(SearchRuleForm form);

    long insertRule(InsertRuleForm form);

    long updateRule(UpdateRuleForm form);

    long deleteRule(DeleteRuleForm form);

    RuleEntity searchCurrentRule(SearchRuleForm form);
}
